import request from '@/utils/request'

export function fetchProductList(data) {
  return request({
    url: '/productInfo/list',
    method: 'get',
    params: data
  })
}

export function delProduct(data) {
  return request({
    url: '/productInfo/dels',
    method: 'post',
    data
  })
}

export function saveProduct(data) {
  return request({
    url: '/productInfo/save',
    method: 'post',
    data
  })
}
